<div class="posts form">
	<h2><?php echo __('Edit Post'); ?></h2>
	<div class="clear"></div>
	<div class="actions selected">
		<?php 
			echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Post.id'),'d'=>$this->Form->value('Post.domain_id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Post.id')));
		?>
		
	</div>
	<div class="clear"></div>
	
<?php echo $this->Form->create('Post');?>
	<fieldset>
		
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('name');
		echo $this->Form->input('content');
		echo $this->Form->input('status',array('value'=>1,'checked'=>true));
		echo $this->Form->input('Article');
		echo $this->Form->input('domain_id');
		echo $this->Form->input('user_id');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">	
	<?php echo $this->element('/menu/main')?>	
	<?php echo $this->element('/menu/settings')?>	
</div>
